package com.joven.shelltest.service;

import java.time.Duration;
import java.util.Collection;

/**
 * @Author wzj
 * @Date 2023-08-14 09:50
 **/
public interface RedisService {

    void addString(String key, String value, Duration duration);

    String findString(String key);

    Boolean deleteByKey(String key);

    String removeOneEntryOnListRight(String listName);

    Long addEntriesOnListLeft(String listName, Collection<String> args);
}
